package com.qingfeng.client.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;import com.qingfeng.base.model.Page;import com.qingfeng.client.VO.PostageVo;import com.qingfeng.client.bean.PostageTemplate;import org.apache.ibatis.annotations.Param;import java.util.List;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/5/6 4:12 下午
 */
public interface PostageTemplateMapper extends BaseMapper<PostageTemplate> {
    IPage<PostageVo> query(Page page, @Param("vo") PostageTemplate postageTemplate);

    void deleteByIds(@Param("ids") List<Integer> ids, @Param("stroeId") Integer storeId);

    List<PostageTemplate> selectByStoreIdAndDef(@Param("storeId")Integer storeId,@Param("def")Boolean def);


}
